<?php
$query=mysql_query("SELECT * FROM domains");
while($domain = mysql_fetch_array($query))
{
if ($cor = CCCCCC){ $cor = EEF0EE;}else{ $cor = CCCCCC;}
echo "<center>
	<div style='background: $cor; width: 400px;'>
		<span style='font-weight: bold'>$domain[0]</span> &nbsp;&nbsp;
		<a href='view_domain.php?id=$domain[0]' title='Show users and informations'><img src='images/users.png'></a>  
		<a href='delete_domain.php?id=$domain[0]' title='Delete domain'><img src='images/del.png'></a>  
	</div>
	</center>";
}
?>

